<?php
//PingBuWang.Com
//Copyright (c) 2017~2099 http://www.pingbuwang.com All rights reserved.
namespace addons\spider\tags;

use think\template\TagLib;

class TagSpider extends TagLib {

    protected $tags   =  [
        'get_list'      => ['attr' => 'value', 'close' => 0],
    ];

    public function tagGet_List($tag){
        $value = $tag['value'];
        $html = '<?php $'.$value.'= "abc taglib测试"; ?> ';
        return $html;

    }

}
